using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication4
{
    public partial class Info : Form
    {
        public Info(World world)
        {
            InitializeComponent();
            this.world = world;
        }

        World world;

        public void VillageSelected(Village vill)
        {
            if (vill == null)
            {
                label1.Text = "";
            }
            else
            {
                label1.Text = vill.name + "\n(" + vill.X.ToString() + "," + vill.y.ToString() + ")";
            }
        }

    }
}